package stu.cms.pojo.entity;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * TODO 通过反射获取字段时,获取不到createTime,详情见  InfoKit
 */
@Data
public class BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
//    public static final LambdaQueryWrapper gw(){return new LambdaQueryWrapper<>();}
//    @DateTimeFormat(pattern="yy-mm-dd HH:mm:ss")
//    public LocalDateTime createTime;

}
